﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Holiday.Dto
{
    /// <summary>
    /// 假期维护日期导出,查询
    /// </summary>
    [ExcelImporter(IsLabelingError = true)]
    public class ExportHoliday
    {
        /// <summary>
        /// 操作类型 新增：1；更新：2
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string OperationType { get; set; }
        /// <summary>
        /// 日期
        /// </summary>
        [ExporterHeader("日期")]
        [ImporterHeader(Name = "日期")]
        public string HolidayDate { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        [ExporterHeader("类型")]
        [ImporterHeader(Name = "类型")]
        public string Status { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [ExporterHeader("备注")]
        [ImporterHeader(Name = "备注")]
        public string Remark { get; set; }
    }
}
